package cn.acac.yygh.order.service;

import cn.acac.yygh.model.order.OrderInfo;
import cn.acac.yygh.vo.order.OrderQueryVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface OrderInfoService extends IService<OrderInfo> {
    Long submitOrder(String scheduleId, Long patientId);

    Page<OrderInfo> selectOrderPage(Integer pageNum, Integer pageSize, OrderQueryVo orderQueryVo);

    OrderInfo findOrderInfoByOrderId(Long orderId);

    void cancelOrder(Long orderId);
}
